package com.yulebaby.callsenter.bean;

import com.google.gson.annotations.SerializedName;
import com.yulebaby.callsenter.ui.base.BaseBean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Unique;

import org.greenrobot.greendao.annotation.Generated;

/**
 * Author: Zhangbo
 * Time: 2016/11/16
 */
@Entity
public class CustomerBean extends BaseBean {
    // 用户姓名
    @SerializedName("customer_name")
    private String customer_name;
    // 分配时间
    @SerializedName("alloc_date")
    private Long alloc_time;
    // 性别
    @SerializedName("sex")
    private String sex;
    // 店名
    @SerializedName("shop_name")
    private String shop_name;
    // 客户地域
    @SerializedName("zone")
    private String zone;
    // 归属区域group
    @SerializedName("groupName")
    private String groupName;
    // 归属区域id
    @SerializedName("group")
    private String group;

    //客户阶段(1:客户确认 2：新入库 3：沟通中 4：已到访 5：以签约 6：已解约)
    @SerializedName("stage")
    private Integer stage;

    //客户阶段对应的文字显示(1:客户确认 2：新入库 3：沟通中 4：已到访 5：以签约 6：已解约)
    private String step;

    // 用于排序  意向  1.新入库 2. 强烈 3. 准强烈 4.中等 5.较弱 6.无
    private Integer stressIntent;

    // 归属员工
    @SerializedName("belong_sale")
    private String belong_sale;
    // 沟通方式
    @SerializedName("communication_way")
    private String contact_method;
    // qq
    @SerializedName("qq")
    private String qq;
    // 微信
    @SerializedName("weixin")
    private String weixin;
    // 品牌
    @SerializedName("brand")
    private String brand;
    // 建档时间
    @SerializedName("create_date")
    private Long create_time;

    // 用户ID
    @SerializedName("id")
    @Id
    private Long customer_id;

    // 用户电话
    @SerializedName("phone")
    private String phone;
    // 备用电话1
    @SerializedName("phone1")
    private String spare_phone1;
    //客户备用号码1的备注
    @SerializedName("phone1_ramark")
    private String phone1_ramark;
    // 备用电话2
    @SerializedName("phone2")
    private String spare_phone2;
    //客户备用号码电话2的备注
    @SerializedName("phone2_ramark")
    private String phone2_ramark;
    // 地址
    @SerializedName("address")
    private String address;
    // 开店规模
    @SerializedName("shop_scale")
    private String scale;
    // 用户来源
    @SerializedName("customer_base_channel")
    private String from;
    // 客户分级
    @SerializedName("customer_level")
    private String level;
    // 签约意向
    @SerializedName("intention")
    private String intention;
    // 最后联系时间
    @SerializedName("last_visit_date")
    private Long last_contact_time;

    // 客户关键信息
    @SerializedName("information")
    private String information;
    // 意向备注
    @SerializedName("intention_remarks")
    private String intention_remark;
    // 个性备注
    @SerializedName("individual_remark")
    private String individual_remark;

    // 最近通话号码
    @SerializedName("last_phone")
    private String last_phone;
    //下次跟踪时间
    @SerializedName("visit_date")
    private Long visit_date;
    // 几天未联系
    @SerializedName("day_number")
    private int day_number;
    //跟踪次数
    @SerializedName("visit_times")
    private Integer visit_times;

    //更新时间
    @SerializedName("update_time")
    private Long update_time;

    //更新时间
    @SerializedName("track_pro")
    private Long track_pro;

    //公海客户是否被抢 0 没有 1 有
    @Transient
    private int isRobInSea = 0;

    public int getIsRobInSea() {
        return isRobInSea;
    }

    public void setIsRobInSea(int isRobInSea) {
        this.isRobInSea = isRobInSea;
    }

    public Long getTrack_pro() {
        return this.track_pro;
    }

    public void setTrack_pro(Long track_pro) {
        this.track_pro = track_pro;
    }

    public Long getUpdate_time() {
        return this.update_time;
    }

    public void setUpdate_time(Long update_time) {
        this.update_time = update_time;
    }

    public Integer getVisit_times() {
        return this.visit_times;
    }

    public void setVisit_times(Integer visit_times) {
        this.visit_times = visit_times;
    }

    public int getDay_number() {
        return this.day_number;
    }

    public void setDay_number(int day_number) {
        this.day_number = day_number;
    }

    public Long getVisit_date() {
        return this.visit_date;
    }

    public void setVisit_date(Long visit_date) {
        this.visit_date = visit_date;
    }

    public String getLast_phone() {
        return this.last_phone;
    }

    public void setLast_phone(String last_phone) {
        this.last_phone = last_phone;
    }

    public String getIndividual_remark() {
        return this.individual_remark;
    }

    public void setIndividual_remark(String individual_remark) {
        this.individual_remark = individual_remark;
    }

    public String getIntention_remark() {
        return this.intention_remark;
    }

    public void setIntention_remark(String intention_remark) {
        this.intention_remark = intention_remark;
    }

    public String getInformation() {
        return this.information;
    }

    public void setInformation(String information) {
        this.information = information;
    }

    public Long getLast_contact_time() {
        return this.last_contact_time;
    }

    public void setLast_contact_time(Long last_contact_time) {
        this.last_contact_time = last_contact_time;
    }

    public String getIntention() {
        return this.intention;
    }

    public void setIntention(String intention) {
        this.intention = intention;
    }

    public String getLevel() {
        return this.level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getFrom() {
        return this.from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getScale() {
        return this.scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone2_ramark() {
        return this.phone2_ramark;
    }

    public void setPhone2_ramark(String phone2_ramark) {
        this.phone2_ramark = phone2_ramark;
    }

    public String getSpare_phone2() {
        return this.spare_phone2;
    }

    public void setSpare_phone2(String spare_phone2) {
        this.spare_phone2 = spare_phone2;
    }

    public String getPhone1_ramark() {
        return this.phone1_ramark;
    }

    public void setPhone1_ramark(String phone1_ramark) {
        this.phone1_ramark = phone1_ramark;
    }

    public String getSpare_phone1() {
        return this.spare_phone1;
    }

    public void setSpare_phone1(String spare_phone1) {
        this.spare_phone1 = spare_phone1;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getCustomer_id() {
        return this.customer_id;
    }

    public void setCustomer_id(Long customer_id) {
        this.customer_id = customer_id;
    }

    public Long getCreate_time() {
        return this.create_time;
    }

    public void setCreate_time(Long create_time) {
        this.create_time = create_time;
    }

    public String getBrand() {
        return this.brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getWeixin() {
        return this.weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }

    public String getQq() {
        return this.qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getContact_method() {
        return this.contact_method;
    }

    public void setContact_method(String contact_method) {
        this.contact_method = contact_method;
    }

    public String getBelong_sale() {
        return this.belong_sale;
    }

    public void setBelong_sale(String belong_sale) {
        this.belong_sale = belong_sale;
    }

    public Integer getStressIntent() {
        return this.stressIntent;
    }

    public void setStressIntent(Integer stressIntent) {
        this.stressIntent = stressIntent;
    }

    public String getStep() {
        return this.step;
    }

    public void setStep(String step) {
        this.step = step;
    }

    public Integer getStage() {
        return this.stage;
    }

    public void setStage(Integer stage) {
        this.stage = stage;
    }

    public String getGroup() {
        return this.group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getGroupName() {
        return this.groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getZone() {
        return this.zone;
    }

    public void setZone(String zone) {
        this.zone = zone;
    }

    public String getShop_name() {
        return this.shop_name;
    }

    public void setShop_name(String shop_name) {
        this.shop_name = shop_name;
    }

    public String getSex() {
        return this.sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Long getAlloc_time() {
        return this.alloc_time;
    }

    public void setAlloc_time(Long alloc_time) {
        this.alloc_time = alloc_time;
    }

    public String getCustomer_name() {
        return this.customer_name;
    }

    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    @Generated(hash = 126190297)
    public CustomerBean(String customer_name, Long alloc_time, String sex,
            String shop_name, String zone, String groupName, String group,
            Integer stage, String step, Integer stressIntent, String belong_sale,
            String contact_method, String qq, String weixin, String brand,
            Long create_time, Long customer_id, String phone, String spare_phone1,
            String phone1_ramark, String spare_phone2, String phone2_ramark,
            String address, String scale, String from, String level,
            String intention, Long last_contact_time, String information,
            String intention_remark, String individual_remark, String last_phone,
            Long visit_date, int day_number, Integer visit_times, Long update_time,
            Long track_pro) {
        this.customer_name = customer_name;
        this.alloc_time = alloc_time;
        this.sex = sex;
        this.shop_name = shop_name;
        this.zone = zone;
        this.groupName = groupName;
        this.group = group;
        this.stage = stage;
        this.step = step;
        this.stressIntent = stressIntent;
        this.belong_sale = belong_sale;
        this.contact_method = contact_method;
        this.qq = qq;
        this.weixin = weixin;
        this.brand = brand;
        this.create_time = create_time;
        this.customer_id = customer_id;
        this.phone = phone;
        this.spare_phone1 = spare_phone1;
        this.phone1_ramark = phone1_ramark;
        this.spare_phone2 = spare_phone2;
        this.phone2_ramark = phone2_ramark;
        this.address = address;
        this.scale = scale;
        this.from = from;
        this.level = level;
        this.intention = intention;
        this.last_contact_time = last_contact_time;
        this.information = information;
        this.intention_remark = intention_remark;
        this.individual_remark = individual_remark;
        this.last_phone = last_phone;
        this.visit_date = visit_date;
        this.day_number = day_number;
        this.visit_times = visit_times;
        this.update_time = update_time;
        this.track_pro = track_pro;
    }

    @Generated(hash = 2020232041)
    public CustomerBean() {
    }

}
